package test0103.test02;

public class Employee {
    private int emp_id;
    private String emp_name;
    private String emp_sex;

    public Employee() {
    }

    public Employee(int emp_id, String emp_name, String emp_sex) {
        this.emp_id = emp_id;
        this.emp_name = emp_name;
        this.emp_sex = emp_sex;
    }

    public int getEmp_id() {
        return emp_id;
    }

    public void setEmp_id(int emp_id) {
        this.emp_id = emp_id;
    }

    public String getEmp_name() {
        return emp_name;
    }

    public void setEmp_name(String emp_name) {
        this.emp_name = emp_name;
    }

    public String getEmp_sex() {
        return emp_sex;
    }

    public void setEmp_sex(String emp_sex) {
        this.emp_sex = emp_sex;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "emp_id=" + emp_id +
                ", emp_name='" + emp_name + '\'' +
                ", emp_sex='" + emp_sex + '\'' +
                '}';
    }
}
